package com.lmz.project.redis.designmode.principles.demo1;

public class Client {
    public static void main(String[] args) {
        //开闭原则，对扩展开放，对修改关闭
        SougouInput input = new SougouInput();
//        DefaultSkin skin = new DefaultSkin();
        HeimaSkin skin = new HeimaSkin();
        input.setSkin(skin);
        input.display();
    }
}
